set radio_menu_item->group to NULL after removing it from the list, as it
authorMatt Wilson <msw@redhat.com>
Fri, 21 Sep 2001 15:23:14 +0000 (15:23 +0000)
committerMatt Wilson <msw@src.gnome.org>
Fri, 21 Sep 2001 15:23:14 +0000 (15:23 +0000)
2001-09-21  Matt Wilson  <msw@redhat.com>

* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
radio_menu_item->group to NULL after removing it from the list, as
it is no longer in the group. (#60869)

* gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkradiobutton.c
gtk/gtkradiomenuitem.c

index 556c7e68a7ac87b08cca1b46728b3974498153cd..4e20d60ae17109880828c86fc87a2243d4263b55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-09-21  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
+       radio_menu_item->group to NULL after removing it from the list, as
+       it is no longer in the group. (#60869)
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
+
 2001-09-20  Havoc Pennington  <hp@pobox.com>
 
        * configure.in (PANGO_REQUIRED_VERSION)
index 556c7e68a7ac87b08cca1b46728b3974498153cd..4e20d60ae17109880828c86fc87a2243d4263b55 100644 (file)
@@ -1,3 +1,11 @@
+2001-09-21  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
+       radio_menu_item->group to NULL after removing it from the list, as
+       it is no longer in the group. (#60869)
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
+
 2001-09-20  Havoc Pennington  <hp@pobox.com>
 
        * configure.in (PANGO_REQUIRED_VERSION)
index 556c7e68a7ac87b08cca1b46728b3974498153cd..4e20d60ae17109880828c86fc87a2243d4263b55 100644 (file)
@@ -1,3 +1,11 @@
+2001-09-21  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
+       radio_menu_item->group to NULL after removing it from the list, as
+       it is no longer in the group. (#60869)
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
+
 2001-09-20  Havoc Pennington  <hp@pobox.com>
 
        * configure.in (PANGO_REQUIRED_VERSION)
index 556c7e68a7ac87b08cca1b46728b3974498153cd..4e20d60ae17109880828c86fc87a2243d4263b55 100644 (file)
@@ -1,3 +1,11 @@
+2001-09-21  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
+       radio_menu_item->group to NULL after removing it from the list, as
+       it is no longer in the group. (#60869)
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
+
 2001-09-20  Havoc Pennington  <hp@pobox.com>
 
        * configure.in (PANGO_REQUIRED_VERSION)
index 556c7e68a7ac87b08cca1b46728b3974498153cd..4e20d60ae17109880828c86fc87a2243d4263b55 100644 (file)
@@ -1,3 +1,11 @@
+2001-09-21  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
+       radio_menu_item->group to NULL after removing it from the list, as
+       it is no longer in the group. (#60869)
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
+
 2001-09-20  Havoc Pennington  <hp@pobox.com>
 
        * configure.in (PANGO_REQUIRED_VERSION)
index 556c7e68a7ac87b08cca1b46728b3974498153cd..4e20d60ae17109880828c86fc87a2243d4263b55 100644 (file)
@@ -1,3 +1,11 @@
+2001-09-21  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
+       radio_menu_item->group to NULL after removing it from the list, as
+       it is no longer in the group. (#60869)
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
+
 2001-09-20  Havoc Pennington  <hp@pobox.com>
 
        * configure.in (PANGO_REQUIRED_VERSION)
index 556c7e68a7ac87b08cca1b46728b3974498153cd..4e20d60ae17109880828c86fc87a2243d4263b55 100644 (file)
@@ -1,3 +1,11 @@
+2001-09-21  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy): set
+       radio_menu_item->group to NULL after removing it from the list, as
+       it is no longer in the group. (#60869)
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_destroy): likewise
+
 2001-09-20  Havoc Pennington  <hp@pobox.com>
 
        * configure.in (PANGO_REQUIRED_VERSION)
index 521b0bf12b913677a10d3a2a4f661ff6394d1c0f..245bec87e9f39e714e812f650022337014026f8b 100644 (file)
@@ -323,6 +323,9 @@ gtk_radio_button_destroy (GtkObject *object)
       tmp_button->group = radio_button->group;
     }
 
+  /* this button is no longer in the group */
+  radio_button->group = NULL;
+  
   if (GTK_OBJECT_CLASS (parent_class)->destroy)
     (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
 }
index 62acc85586d2da76a823a606e2f5b24fd0eabfe9..48148fe57f9771df8a0cbf8c4b4365c1be688435 100644 (file)
@@ -226,6 +226,9 @@ gtk_radio_menu_item_destroy (GtkObject *object)
       tmp_menu_item->group = radio_menu_item->group;
     }
 
+  /* this radio menu item is no longer in the group */
+  radio_menu_item->group = NULL;
+  
   if (GTK_OBJECT_CLASS (parent_class)->destroy)
     (* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
 }